package com.example.letgo.story;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.example.letgo.R;
import com.example.letgo.model.Story;
import com.google.gson.Gson;

public class StoryDetailsHadActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_story_details_had);
        String storyJson = getIntent().getStringExtra("story");
        Story story = new Gson().fromJson(storyJson, Story.class);
    }
}
